package com.ykq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @program: springboot-vue
 * @description:
 * @author: 闫克起2
 * @create: 2021-12-31 11:07
 **/
@Data
@TableName(value = "t_menu")
public class Menu {
     @TableId(type = IdType.AUTO)
     private Integer mid;
     private String title;
     private String href;
     private Integer mpid;
     private String icon;
     private List<Menu> children;
}
